package com.warm.enums;

import lombok.Getter;

/**
 * Created by liangchuang on 2018/9/4.
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{
    NEW(0, "新订单"),
    FINISHED(1, "订单完成"),
    CANCEL(2,"订单取消"),
    ;

    private Integer code;

    private String message;

    OrderStatusEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
